package com.qf.mapper;

import com.qf.pojo.OrderTable;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderTableMapper {

    List<OrderTable> findAllOrder();

    void deleteById(Integer id);


    void updateOrder(OrderTable orderTable);

    List<OrderTable> findByOrderId(Integer orderId);

    List<OrderTable> findByOrderName(String name);
}
